import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty } from "class-validator";

export class UploadImageDto {
    @ApiProperty({
        description:'type'
    })
    @IsNotEmpty({
        message:'type不能为空'
    })
    type: string;
}
